1d5028f4db5ece25a0ced30f18550807d616686e,src/test/java/org/chalup/microorm/tests/BasicTypesTest.java,BasicTypesTest,shouldPackShortFieldsIntoContentValues,#,67
Before Change
ContentValues values = testSubject.toContentValues(shortDao);
ShadowContentValues shadowValues = Robolectric.shadowOf(values);
assertThat(shadowValues.getAsShort(ShortDao.SHORT_COLUMN)).isEqualTo(ShortDao.TEST_SHORT);
}
public static class IntegerDao {
After Change
shortDao.mShort = ShortDao.TEST_SHORT;
ContentValues values = testSubject.toContentValues(shortDao);
assertThat(values).contains(entry(ShortDao.SHORT_COLUMN, ShortDao.TEST_SHORT));
}
public static class IntegerDao {